import ajax from "./ajax";


export async  function login(username,password){
	try{
		
	  return await uni.$ajax(`http://120.25.151.122/login`,"POST",{
			username,
			password
		},'登录中',{
	'content-type': 'application/x-www-form-urlencoded'
})
		
	}catch(e){
		return e 
	}
}